package com.dykj.fireFighting.server.base.dev.mapper;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dykj.fireFighting.api.base.dev.entity.DevHisWaterZc;
import com.dykj.fireFighting.api.base.dev.vo.DevHisWaterZcVo;
import com.dykj.fireFighting.api.base.dev.vo.RateVo;
import com.dykj.fireFighting.common.core.mapper.SuperMapper;

import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Description VIEW
 * @Author zly
 * @Date  2021-08-16 13:12:25
 */
public interface DevHisWaterZcMapper extends SuperMapper<DevHisWaterZc> {


    IPage<DevHisWaterZcVo> queryList(Page page, @Param("params") Map<String, Object> params);

    int getAlreadyReviewCount(HashMap<String, Object> params);

    int getEffectCount(HashMap<String, Object> params);

    List<RateVo> getMonthRate(HashMap<String, Object> params);

    DevHisWaterZc selectByIdTable(@Param("id")String id, @Param("tableType")String tableType,@Param("tableName")String tableName);

    List<RateVo> getRate(@Param("params") HashMap<String, Object> params);
}
